package org.littlesun.management.model.course;

import lombok.AllArgsConstructor;
import lombok.Data;

public interface Course {

	public String getId();
	
	public Treatment getTreatment();
	
	public TreatmentDivision getBranch();
	
	public boolean isActive();
	
	@AllArgsConstructor
	@Data
	public class SimpleCourse {
		
		private String id;
		
		private Treatment treatment;
		
		private TreatmentDivision branch;
		
		private boolean active;
		
		public SimpleCourse(Course course) {
			this.id = course.getId();
			this.treatment = course.getTreatment();
			this.branch = course.getBranch();
			this.active = course.isActive();
		}
	}
	
}
